package org.ccay.async.was;

/**
 * IThread
 * 	
 * 
 * @since Dec 16, 2011
 */
public interface IThread {
	
	/* (non-Javadoc)
	 * @see java.lang.Runnable#run()
	 */
	public void run();
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#countStackFrames()
	 */
	public int countStackFrames();
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#destroy()
	 */
	public void destroy();
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#getContextClassLoader()
	 */
	public ClassLoader getContextClassLoader();
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#interrupt()
	 */
	public void interrupt();
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#isInterrupted()
	 */
	public boolean isInterrupted();
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#setContextClassLoader(java.lang.ClassLoader)
	 */
	public void setContextClassLoader(ClassLoader classLoader);
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#start()
	 */
	public void start();

}
